import api from '../../js/api';
Page({

    data: {
        dataList: []
    },

    onShow() {
        api.getPanDianDan().then(r => {
            console.log(r);
            this.setData({ dataList: r.data })
        })
  
    },
    itemTap(e) {
        let id = e.currentTarget.dataset.id
        console.log(id);
        wx.navigateTo({
            url: '../PanDianNext/PanDianNext?id=' + id
        })
    }

})